DIRS=`ls -l $2 | egrep '^d' | awk '{print $9}'`
#echo $DIRS
./parallel -j 12 ./resize_img.sh $1 $2/{} $3/{} $4 ::: $DIRS
#for DIR in $DIRS 
#do
#  dst_dir=$3/$DIR
#  echo $mega_folder/$DIR TO $dst_dir
#  ./resize_img.sh $1 $mega_folder/$DIR $dst_dir $4
#done
